package oa.service;

import java.util.Collection;

import oa.domain.page.PageBean;
import oa.domain.system.Department;
import oa.util.HQLHelper;

public interface DepartmentService {

	public Collection<Department> getAllDeaprtment();
	
	public void saveDepartment(Department department);
	
	public Department getDepartmentById(Long id);
	
	public void upateDepartment(Department department);
	
	public void deleteDepartment(Long id);

	public PageBean getPageBean(HQLHelper hh, int currentPage);
}
